home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7846 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.1 KB

  1. Path: newshost.lanl.gov!tanmoy
  2. From: tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya)
  3. Newsgroups: comp.lang.pl1,comp.lang.c
  4. Subject: Re: PL/I and C
  5. Date: 28 Feb 1996 15:51:59 GMT
  6. Organization: Los Alamos National Laboratory
  7. Message-ID: <TANMOY.96Feb28085159@qcd.lanl.gov>
  8. References: <4gh5ru$eng@goanna.cs.rmit.EDU.AU> <312CCEB2.4AB7@corp.dialog.com>
  9.     <4grhtv$s31@goanna.cs.rmit.EDU.AU> <4gt0tv$826@solutions.solon.com>
  10.     <4h11ub$njp@goanna.cs.rmit.EDU.AU>
  11. NNTP-Posting-Host: qcd.lanl.gov
  12. Mime-Version: 1.0
  13. Content-Type: text
  14. In-reply-to: rav@goanna.cs.rmit.EDU.AU's message of 28 Feb 1996 18:58:03 +1100
  15.  
  16. In article <4h11ub$njp@goanna.cs.rmit.EDU.AU>
  17. rav@goanna.cs.rmit.EDU.AU (++           robin) writes:
  18. <snip>
  19. r:     >strchr, strrchr, strspn, strcspn, strpbrk.
  20. <snip>
  21. r: As for the others (strrchr etc), they are not in all systems.
  22.  
  23. When one discusses languages, one ought to take the standard version
  24. of of the language, especially when the standard is not `brand
  25. new'. All of the functions mentioned are ANSI C functions, and saying
  26. that not all systems have them is like saying that not all fortran
  27. systems define the intrinsic `LEN'. Technically true, but completely
  28. irrelevant to any useful discussions about the language.
  29.  
  30. I am actually not concerned in your `language debate'. I just do not
  31. want false statements in comp.lang.c to pass unchallenged and thus
  32. confuse others.
  33.  
  34. r:     >>   There are several functions for centering text, & trimming
  35. r:     >>given characters from either or both ends of a string.
  36. r: 
  37. r:     >sprintf.
  38. r: 
  39. r: ---Not quite.  The above are non-I/O functions.
  40.  
  41. How is sprintf an I/O function? It inputs its parameters and outputs
  42. into the memory pointed to by one of its parameters?
  43.  
  44. Cheers
  45. Tanmoy
  46. --
  47. tanmoy@qcd.lanl.gov(128.165.23.46) DECNET: BETA::"tanmoy@lanl.gov"(1.218=1242)
  48. Tanmoy Bhattacharya O:T-8(MS B285)LANL,NM87545 H:#9,3000,Trinity Drive,NM87544
  49. Others see <gopher://yaleinfo.yale.edu:7700/00/Internet-People/internet-mail>,
  50. <http://alpha.acast.nova.edu/cgi-bin/inmgq.pl>or<ftp://csd4.csd.uwm.edu/pub/
  51. internetwork-mail-guide>. -- <http://nqcd.lanl.gov/people/tanmoy/tanmoy.html>
  52. fax: 1 (505) 665 3003   voice: 1 (505) 665 4733    [ Home: 1 (505) 662 5596 ]
  53.